package com.rc.evcharger.mapper.discount;


import com.rc.evcharger.common.base.BaseMapper;
import com.rc.evcharger.model.discount.TenantDiscountMemberStation;
import com.rc.evcharger.model.discount.TenantDiscountMemberStationExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TenantDiscountMemberStationMapper extends BaseMapper<Long, TenantDiscountMemberStation, TenantDiscountMemberStationExample> {

    List<TenantDiscountMemberStation> selectByMemberIdAndEsId(@Param(value = "memberId") Long memberId, @Param(value = "stationId") Long stationId);


    TenantDiscountMemberStation selectByMemberIdAndEsIdAndPolicyId(@Param(value = "memberId") Long memberId,
                                                                   @Param(value = "stationId") Long stationId,
                                                                   @Param(value = "policyId") Long PolicyId);
}